package pl.edu.pw.ee.buildcity.gg.commands;

import java.util.List;

/**
 * @author Mateusz
 * @since 2010-02-13
 */
public interface Command {

	/**
	 * Executes appropriate command with given parameters
	 *
	 * @param parameters necessary for executing this command
	 * @return message to return to the client
	 */
	public abstract String execute(List<String> parameters);

	/**
	 * @return human readable name of given command implementation
	 */
	@Override
	public String toString();

}
